package quick;



import java.util.Scanner;

public class Person {
    private long strTime; //开始时间
    private int num;   //级别
    private int score; //积分

    public Person() {
    }

    public Person(long strTime, int num, int score) {
        this.strTime = strTime;
        this.num = num;
        this.score = score;
    }

    public long getStrTime() {
        return strTime;
    }

    public void setStrTime(long strTime) {
        this.strTime = strTime;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
    public void paly(){
        Scanner intput = new Scanner(System.in);
        Game game = new Game(this);
        for (int i = 0; i <LevelParam.lecels.length ; i++) {        //等级
            this.setScore(0);
            this.num+=1;
            for (int j = 0; j < LevelParam.lecels[i].getCiShu(); j++) {            //循环次数
                String buffer=game.print();
                this.strTime=System.currentTimeMillis();
                System.out.println("请输入:");
                String shuRu = intput.next();
                game.biJiao(shuRu,buffer);
            }


        }
    }
}
